package com.sxjh.entity.param;

import com.sxjh.entity.PageEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
public class GoodsLocationListParam extends PageEntity {

    @ApiModelProperty(value = "唯一ID")
    private Integer id;

    @ApiModelProperty(value = "地点名称")
    private String name;

    @ApiModelProperty(value = "类型 0|装货地,1|卸货地")
    private String type;

    @ApiModelProperty(value = "间隔时间/min")
    private Integer intervalTime;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "车间id")
    private Integer workshopId;

    @ApiModelProperty(value = "工厂id")
    private Integer factoryId;

    @ApiModelProperty(value = "车间名称")
    private String workshopName;

    @ApiModelProperty(value = "工厂名称")
    private String factoryName;

    @ApiModelProperty(value = "是否需要拍照标记,1:否,-1:是")
    private Integer photoFlag = 1;

    @ApiModelProperty(value = "是否需要人工确认标记,1:否,-1:是")
    private Integer confirmFlag = 1;

    @ApiModelProperty(value = "是否启用标记,1:否,-1:是")
    private Integer activateFlag;

    @ApiModelProperty(value = "创建人")
    private Integer createdBy;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdAt;

    @ApiModelProperty(value = "更新人")
    private Integer updatedBy;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updatedAt;

}
